<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SPHinXsys: SPH::KDNode Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SPHinXsys
   &#160;<span id="projectnumber">alpha version</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_s_p_h.html">SPH</a></li><li class="navelem"><a class="el" href="class_s_p_h_1_1_k_d_node.html">KDNode</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="class_s_p_h_1_1_k_d_node-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">SPH::KDNode Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><a class="el" href="class_s_p_h_1_1_node.html" title="A class containing the nodes of the branches plus some fuctions to compute distance related quantitie...">Node</a> for <a class="el" href="class_s_p_h_1_1_k_d_tree.html">KDTree</a>.  
 <a href="class_s_p_h_1_1_k_d_node.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="kd__tree_8hpp_source.html">kd_tree.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a49fed5ac1ec3a0460033d34b4959b0c7"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_k_d_node.html#a49fed5ac1ec3a0460033d34b4959b0c7">KDNodePtr</a> = std::shared_ptr&lt; <a class="el" href="class_s_p_h_1_1_k_d_node.html">KDNode</a> &gt;</td></tr>
<tr class="separator:a49fed5ac1ec3a0460033d34b4959b0c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a99b4125ec4266ad84e5980c57eed2a58"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_k_d_node.html#a99b4125ec4266ad84e5980c57eed2a58">KDNode</a> ()</td></tr>
<tr class="separator:a99b4125ec4266ad84e5980c57eed2a58"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a306562eb7414dab375614e9323a5624e"><td class="memItemLeft" align="right" valign="top"><a id="a306562eb7414dab375614e9323a5624e"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>KDNode</b> (const Point &amp;, const <a class="el" href="classsize__t.html">size_t</a> &amp;, const <a class="el" href="class_s_p_h_1_1_k_d_node.html#a49fed5ac1ec3a0460033d34b4959b0c7">KDNodePtr</a> &amp;, const <a class="el" href="class_s_p_h_1_1_k_d_node.html#a49fed5ac1ec3a0460033d34b4959b0c7">KDNodePtr</a> &amp;)</td></tr>
<tr class="separator:a306562eb7414dab375614e9323a5624e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c9b59cb425ded837d48b12b7f4c527b"><td class="memItemLeft" align="right" valign="top"><a id="a9c9b59cb425ded837d48b12b7f4c527b"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>KDNode</b> (const pointIndex &amp;, const <a class="el" href="class_s_p_h_1_1_k_d_node.html#a49fed5ac1ec3a0460033d34b4959b0c7">KDNodePtr</a> &amp;, const <a class="el" href="class_s_p_h_1_1_k_d_node.html#a49fed5ac1ec3a0460033d34b4959b0c7">KDNodePtr</a> &amp;)</td></tr>
<tr class="separator:a9c9b59cb425ded837d48b12b7f4c527b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e39cf6ee4e53cb80af43ebe773ab91d"><td class="memItemLeft" align="right" valign="top"><a id="a3e39cf6ee4e53cb80af43ebe773ab91d"></a>
Real&#160;</td><td class="memItemRight" valign="bottom"><b>coord</b> (const <a class="el" href="classsize__t.html">size_t</a> &amp;)</td></tr>
<tr class="separator:a3e39cf6ee4e53cb80af43ebe773ab91d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6c8b9c40b6a2f01f5132283e3f87e5e"><td class="memItemLeft" align="right" valign="top"><a id="af6c8b9c40b6a2f01f5132283e3f87e5e"></a>
<a class="el" href="classbool.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><b>is_empty</b> ()</td></tr>
<tr class="separator:af6c8b9c40b6a2f01f5132283e3f87e5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62e231c67c25ffb7fdeebd0900b154df"><td class="memItemLeft" align="right" valign="top"><a id="a62e231c67c25ffb7fdeebd0900b154df"></a>
Point&#160;</td><td class="memItemRight" valign="bottom"><b>position</b> ()</td></tr>
<tr class="separator:a62e231c67c25ffb7fdeebd0900b154df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49f990ebeb84b70793a4e5d5e3c3973c"><td class="memItemLeft" align="right" valign="top"><a id="a49f990ebeb84b70793a4e5d5e3c3973c"></a>
<a class="el" href="classsize__t.html">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><b>index</b> ()</td></tr>
<tr class="separator:a49f990ebeb84b70793a4e5d5e3c3973c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38701965eeb27e23805d74f78cfcd90f"><td class="memItemLeft" align="right" valign="top"><a id="a38701965eeb27e23805d74f78cfcd90f"></a>
pointIndex&#160;</td><td class="memItemRight" valign="bottom"><b>posIndex</b> ()</td></tr>
<tr class="separator:a38701965eeb27e23805d74f78cfcd90f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:ab443da5844bb5face905c666cbf7bdde"><td class="memItemLeft" align="right" valign="top"><a id="ab443da5844bb5face905c666cbf7bdde"></a>
<a class="el" href="classsize__t.html">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><b>index_</b></td></tr>
<tr class="separator:ab443da5844bb5face905c666cbf7bdde"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38e42eecf7e04a28ca6efd6f5c1a0a65"><td class="memItemLeft" align="right" valign="top"><a id="a38e42eecf7e04a28ca6efd6f5c1a0a65"></a>
Point&#160;</td><td class="memItemRight" valign="bottom"><b>x_</b></td></tr>
<tr class="separator:a38e42eecf7e04a28ca6efd6f5c1a0a65"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4a9039759d1ef56e893a487dce4207d"><td class="memItemLeft" align="right" valign="top"><a id="aa4a9039759d1ef56e893a487dce4207d"></a>
<a class="el" href="class_s_p_h_1_1_k_d_node.html#a49fed5ac1ec3a0460033d34b4959b0c7">KDNodePtr</a>&#160;</td><td class="memItemRight" valign="bottom"><b>left_</b></td></tr>
<tr class="separator:aa4a9039759d1ef56e893a487dce4207d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f9bc70d2585e86bfe825a641ffb36e3"><td class="memItemLeft" align="right" valign="top"><a id="a1f9bc70d2585e86bfe825a641ffb36e3"></a>
<a class="el" href="class_s_p_h_1_1_k_d_node.html#a49fed5ac1ec3a0460033d34b4959b0c7">KDNodePtr</a>&#160;</td><td class="memItemRight" valign="bottom"><b>right_</b></td></tr>
<tr class="separator:a1f9bc70d2585e86bfe825a641ffb36e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a474777a49d27823d7e5508ad8f9c4a2c"><td class="memItemLeft" align="right" valign="top"><a id="a474777a49d27823d7e5508ad8f9c4a2c"></a>
<a class="el" href="classbool.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><b>is_empty_</b></td></tr>
<tr class="separator:a474777a49d27823d7e5508ad8f9c4a2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="class_s_p_h_1_1_node.html" title="A class containing the nodes of the branches plus some fuctions to compute distance related quantitie...">Node</a> for <a class="el" href="class_s_p_h_1_1_k_d_tree.html">KDTree</a>. </p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="a49fed5ac1ec3a0460033d34b4959b0c7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a49fed5ac1ec3a0460033d34b4959b0c7">&#9670;&nbsp;</a></span>KDNodePtr</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="class_s_p_h_1_1_k_d_node.html#a49fed5ac1ec3a0460033d34b4959b0c7">SPH::KDNode::KDNodePtr</a> =  std::shared_ptr&lt;<a class="el" href="class_s_p_h_1_1_k_d_node.html">KDNode</a>&gt;</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>std::shared_ptr is a smart pointer that retains shared ownership of an object through a pointer. Several shared_ptr objects may own the same object. </p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a99b4125ec4266ad84e5980c57eed2a58"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a99b4125ec4266ad84e5980c57eed2a58">&#9670;&nbsp;</a></span>KDNode()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">SPH::KDNode::KDNode </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Constructor. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>SPHINXsys/src/shared/network/<a class="el" href="kd__tree_8hpp_source.html">kd_tree.hpp</a></li>
<li>SPHINXsys/src/shared/network/kd_tree.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
